import Router from 'vue-router'
// import test from "../components/test.vue"
export default new Router({
    routes: [{
        path: '/',
        component:require('../components/index.vue').default,
        children:[
            {
                path: '/home',
                component:require('../components/home.vue').default,
            },
            {
                path: '/vip',
                component:require('../components/vip.vue').default,
            },
            {
                path: '/car',
                component:require('../components/car.vue').default,
            },
            {
                path: '/search',
                component:require('../components/search.vue').default,
            },
        ]
    }]
})